<script type="text/javascript">
var staticPath = "${base}/templates/${config.theme}/front/static";
</script>
<div class="header">
	<div class="header_mid gray_header">
      	<div id="J_order_tips" class="order_notice"></div>
		<div class="header_logo">
		</div>
        <div class="topSearchBox">
         <form id="searchForm" name="searchForm" method="get" action="${base}/product/search">
			<input class="sTxt" type="text"  value="输入菜名查询"  id="keyword"  name="keyword" onfocus="this.value='';"  />     
			<input id="goSearch" type="submit" value="" class="sBtn" />
		</form>
        </div>
		<div class="header_tool">
	        <div id="append_parent"></div>
	 		<div class="login_before" id="J_head_log">
	 			[#if session.session_member??]
	 				<span class="fl"></span>您好<a href="/user.php">${session.session_member.mobile}</a>, 欢迎您回来！ &nbsp;
	 				<a rel="nofollow" class="btn_login hlight_main" id="J_header_lnkLogin" href="${base}/member">用户中心</a>
	 				<a rel="nofollow" class="btn_reg" id="J_header_lnkRegister" href="${base}/logout">退出</a>
	 			[#else]
					<span class="fl"></span>
					<span id="J_rename_span">欢迎光临本店</span>，&nbsp;
					<a rel="nofollow" class="btn_login" id="J_header_lnkLogin" href="${base}/login">登录</a>
					<a rel="nofollow" class="btn_reg" id="J_header_lnkRegister" href="${base}/register">注册</a>
	 			[/#if]
			</div>
			<ul class="ht_list"></ul>
		</div>
		<div data-hover="header_cart_hover" class="header_cart" id="J_header_cart">
			<div class="header_cart_con gray_header">
				<a class="header_cart_title J_te_card" href="${base}/cart/list">购物袋</a><a class="header_cart_num J_cart_count" href="${base}/cart/list" id="J_header_cart_quantity">0</a>
			</div>
			<div class="header_cart_list" id="J_header_cart_list">
				<div class="header_cart_empty fwr gray_header">
					<p class="hce_title">您的购物袋还没有商品，再去逛逛吧~</p> 
				</div>
			</div>
		</div>
	</div>
	<div class="header_bot">
		<div class="header_bot_con">
			<ul class="header_snav fwr">
	            <li><a href="${base}/" class="cur">首页</a></li>
	    		<li><a href="${base}/product/list/1"><span class="">放心蔬菜</span></a></li>
	   			<li><a href="${base}/product/list/2"><span class="">新鲜水果</span></a></li>
	   			<li><a href="${base}/product/list/3"><span class="">肉禽蛋品</span></a></li>
	   			<li><a href="${base}/product/list/4"><span class="">粮油副食</span></a></li>
	   			<li><a href="${base}/article/list/2"><span class="">厨房</span></a></li>
	   			<li><a href="${base}/article/list/3"><span class="">关于</span></a></li>
 			</ul>
		</div>
	</div>
</div>